package com.hiv.mapper.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;
import lombok.NoArgsConstructor;

/**
 * 采样数据盒子关系对象 sampling_box_record
 * 
 * @author zhanghong
 * @date 2022-09-20
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("采样数据盒子关系")
public class SamplingBoxRecord implements Serializable {
    private Long id;
    @ApiModelProperty("盒子id")
    private Long boxId;
    @ApiModelProperty("采样id")
    private Long samplingId;
    @ApiModelProperty("删除状态 0未删除 1已删除")
    private Integer deleted;
    @ApiModelProperty("更新时间")
    private Date updateTime;
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss")
    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("+条形码编码")
    private String barCode;
    @ApiModelProperty("+类型 1病载含量检测 2耐药性检测")
    private Integer checkType;
}
